using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections;

/// <summary>
/// Summary description for TaiKhoanBUS
/// </summary>
public class TaiKhoanBUS
{
    private TaiKhoanDAO dao = new TaiKhoanDAO();

    public ArrayList LayMang_TaiKhoan()
    {
        return dao.LayMang_TaiKhoan();
    }
    public TaiKhoanDTO getTaiKhoan(String MaTaiKhoan, String Password)
    {
        return dao.getTaiKhoan(MaTaiKhoan, Password);
    }
    public void insert(TaiKhoanDTO obj)
    {
        dao.insert(obj);
    }
    public void delete(string ma)
    {
        dao.delete(ma);
    }
    public void update(TaiKhoanDTO obj)
    {
        dao.update(obj);
    }

    public TaiKhoanBUS()
    {
        //
        // TODO: Add constructor logic here
        //
    }
}
